package com.irdstudio.efp.flow.service.facade;

import com.irdstudio.efp.flow.service.vo.InstFlowEventVO;

public interface InstFlowEventService {
	
	/**
	 * 更新事件状态
	 * @param eventVo
	 * @return
	 */
	public int updateNodeAndEventStatue(InstFlowEventVO eventVo);
	
	/**
	 * 新增
	 * @param instFlowEvent
	 * @return
	 */
	public int insertInstFlowEvent(InstFlowEventVO instFlowEvent);
	
	/**
	 * 根据业务流水号查询
	 * @param bizSerno
	 * @return
	 */
	public InstFlowEventVO queryByBizSerno(String bizSerno);
	
	/**
	 * 根据事件ID和节点实例号查询事件信息
	 * @param eventId
	 * @param instanceNodeId
	 * @return
	 */
	public InstFlowEventVO queryByNodeIdAndEventId(InstFlowEventVO instFlowEvent) ;
	
	/**
	 * 根据bizSerno更新节点信息
	 * @param bizSerno
	 * @return
	 */
	public int updateInstNodeIdByBizSerno(String bizSerno, String instNodeId);
	

}
